package com.manong.service;

import com.github.pagehelper.PageInfo;
import com.manong.domain.Department;
import com.manong.query.QueryObject;
import com.manong.util.PageResult;

import java.util.List;

public interface IDepartmentService {
    void save(Department department);
    void delete(Long id);
    void update(Department department);
    Department get(Long id);
    List<Department> getAll();

    PageInfo query(QueryObject qo);

    void saveOrUpdate(Department department);
}
